package com.ruoyi.yuan.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 国家信息对象 yuan_nation
 * 
 * @author guifeng
 * @date 2022-08-25
 */
public class Nation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 国家ID */
    private Long nationId;

    /** 国家名 */
    @Excel(name = "国家名")
    private String nationName;

    /** 大陆ID */
    @Excel(name = "大陆ID")
    private Long mainlandId;

    /** 省信息信息 */
    private List<Province> provinceList;

    public void setNationId(Long nationId) 
    {
        this.nationId = nationId;
    }

    public Long getNationId() 
    {
        return nationId;
    }
    public void setNationName(String nationName) 
    {
        this.nationName = nationName;
    }

    public String getNationName() 
    {
        return nationName;
    }
    public void setMainlandId(Long mainlandId) 
    {
        this.mainlandId = mainlandId;
    }

    public Long getMainlandId() 
    {
        return mainlandId;
    }

    public List<Province> getProvinceList()
    {
        return provinceList;
    }

    public void setProvinceList(List<Province> provinceList)
    {
        this.provinceList = provinceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nationId", getNationId())
            .append("nationName", getNationName())
            .append("mainlandId", getMainlandId())
            .append("provinceList", getProvinceList())
            .toString();
    }
}
